import Vue from "vue";
import Vuex from "vuex";

import actions from "./actions";
import mutations from "./mutations";
import state from "./state";
import getters from "./getters";
//使用vuex
Vue.use(Vuex);
//对外输出store对像
export default new Vuex.Store({
    actions,
    mutations,
    state,
    getters,
})